package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.UacMerchant;
import com.csun.cmny.provider.model.dto.merchant.MerchantPersonageSelectDto;
import com.csun.cmny.provider.model.dto.merchant.MerchantQueryDto;
import com.csun.cmny.provider.model.dto.merchant.MerchantSaveDto;
import com.csun.cmny.provider.model.vo.merchant.MerchantVo;

import java.util.List;

public interface UacMerchantService extends IService<UacMerchant> {

    List<MerchantVo> selectMerchant(MerchantQueryDto merchantQueryDto);

    /*
    * 根据用户id查询商家信息
    * */
    List<MerchantVo> listMerchantByIdList(List<Long> userList);

    /*
    * 查询商家营业状态
    * */
    Integer checkMerchantOnline(Long merchantId);

    int insertMerchant(MerchantSaveDto merchantSaveDto);

    int deleteMerchant(Long id);

    List<MerchantVo> selectPersonage(MerchantPersonageSelectDto merchantPersonageSelectDto);
}
